<%@ Page Language="VB" MasterPageFile="~/master pages/AdminMasterPage.master" CodeFile="frmPurchaseCart.aspx.vb"
    Inherits="Admin_frmPurchaseCart" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="box" width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td class="boxheading" width="100%" height="14" align="center">
                    <h2 class="boxtitle">
                        Purchase Cart Detail
                    </h2>
                </td>
            </tr>
        </tbody>
    </table>
    <table align="center">
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:DataGrid ID="gdPurchaseCart" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                CellPadding="4" EnableTheming="True" Font-Italic="False" Font-Names="Verdana"
                                Font-Size="8pt" ForeColor="Black" GridLines="None" HorizontalAlign="Center" Width="100%"
                                PageSize="5">
                                <AlternatingItemStyle BackColor="White" ForeColor="#757575" />
                                <Columns>
                                    <asp:BoundColumn DataField="PurchaseId" HeaderText="PurchaseId" ReadOnly="true" >
                                        <ItemStyle Font-Italic="False" Font-Names="Verdana" Font-Overline="False" Font-Size="8pt"
                                            Font-Strikeout="False" Font-Underline="False" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="ProductId" HeaderText="ProductId" ReadOnly="true" >
                                        <ItemStyle Font-Italic="False" Font-Names="Verdana" Font-Overline="False" Font-Size="8pt"
                                            Font-Strikeout="False" Font-Underline="False" />
                                    </asp:BoundColumn>
                                    <asp:TemplateColumn HeaderText="Quantity">
                                        <ItemTemplate>
                                            <%# DataBinder.Eval(Container.DataItem, "Quantity") %>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <asp:TextBox ID="tt" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                    </asp:TemplateColumn>
                                    <asp:BoundColumn DataField="Price" HeaderText="Price" ReadOnly="true" >
                                        <ItemStyle Font-Italic="False" Font-Names="Verdana" Font-Overline="False" Font-Size="8pt"
                                            Font-Strikeout="False" Font-Underline="False" />
                                    </asp:BoundColumn>
                                    <asp:TemplateColumn>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="ET" runat="server" CommandName="Edit" Height="15" Width="15"
                                                Text="Edit"></asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateColumn>
                                    <asp:TemplateColumn>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="DT" runat="server" CommandName="Delete" Height="15" Width="15"
                                                Text="Delete"></asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateColumn>
                                    
                                </Columns>
                                <EditItemStyle BackColor="#999999" ForeColor="#757575" />
                                <FooterStyle BackColor="#B02840" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#77A123" Font-Bold="True" ForeColor="White" />
                                <ItemStyle BackColor="White" ForeColor="#757575" />
                                <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" Font-Names="Verdana" Font-Size="10pt"
                                    ForeColor="#333333" />
                                <PagerStyle BackColor="White" ForeColor="Gray" HorizontalAlign="Right" NextPageText="Next &amp;raquo;"
                                    PrevPageText="&amp;laquo; Previous" />
                            </asp:DataGrid>
                        </td>
                        <td align="center" valign="middle">
                            <asp:Label ID="lbl1" runat="server" Text="Select Supplier:"></asp:Label>
                            <asp:DropDownList ID="ddlSupplier" runat="server">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="center">
                            <asp:Button ID="btnAdd" runat="server" Text="Add To Main Stock" />
                        </td>
                        <td>
                            <asp:Button ID="btnAddMore" runat="server" Text="Add More" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
